home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / make-367.lha / make-3.67 / dep.h < prev    next >
C/C++ Source or Header  |  1992-08-01  |  1KB  |  51 lines

  1. /* Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
  2. This file is part of GNU Make.
  3.  
  4. GNU Make is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8.  
  9. GNU Make is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13.  
  14. You should have received a copy of the GNU General Public License
  15. along with GNU Make; see the file COPYING.  If not, write to
  16. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18. /* Structure representing one dependency of a file.
  19.    Each struct file's `deps' points to a chain of these,
  20.    chained through the `next'.
  21.  
  22.    Note that the first two words of this match a struct nameseq.  */
  23.  
  24. struct dep
  25.   {
  26.     struct dep *next;
  27.     char *name;
  28.     struct file *file;
  29.     int changed;
  30.   };
  31.  
  32.  
  33. /* Structure used in chains of names, for parsing and globbing.  */
  34.  
  35. struct nameseq
  36.   {
  37.     struct nameseq *next;
  38.     char *name;
  39.   };
  40.  
  41.  
  42. extern struct nameseq *multi_glob (), *parse_file_seq ();
  43.  
  44.  
  45. #ifndef    iAPX286
  46. #define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name)
  47. #else
  48. /* Buggy compiler can't hack this.  */
  49. extern char *dep_name ();
  50. #endif
  51.